<template>
    <mapSymbol v-if="domMounted" :="$attrs"> </mapSymbol>
</template>
<script setup lang="ts">
import { ref, onMounted, useAttrs, onBeforeUnmount } from 'vue'
import mapSymbol from './mapSymbol.vue'
const $attrs = useAttrs()
// dom 是否加载完
const domMounted = ref(false)
onMounted(() => {
    domMounted.value = true
})
onBeforeUnmount(() => {
    domMounted.value = false
})
</script>
